package kr.co.hk.local;

import java.io.Serializable;

import com.google.android.maps.GeoPoint;

import android.location.Location;

public class LocalInfo implements Serializable {
	private String title;
	private String link;
	private String telephone;
	private String distance;
	private Double locationLat;
	private Double locationLng;
	private Location location;
	private GeoPoint	point;
	
	public LocalInfo(String title, String link, String telephone, String distance,
			Location location) {
		this.title = title;
		this.link = link;
		this.telephone = telephone;
		this.distance = distance;
		this.locationLat = location.getLatitude();
		this.locationLng = location.getLongitude();

		this.location = location;

	}
	
	
	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public GeoPoint getPoint() {
		return point;
	}

	public void setPoint(GeoPoint point) {
		this.point = point;
	}

	

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}

	public String toString() {
		String str = title+distance;
		return str;

	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}


	public Double getLocationLat() {
		return locationLat;
	}

	public void setLocationLat(Double locationLat) {
		this.locationLat = locationLat;
	}

	public Double getLocationLng() {
		return locationLng;
	}

	public void setLocationLng(Double locationLng) {
		this.locationLng = locationLng;
	}



}
